<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			// 1.让女朋友输入节日
			var holidayName = prompt("输入今天的节日");
			
			// 2.判断节日
			switch (holidayName) {
				case "情人节":
					console.log("买玫瑰");
					console.log("看电影");
					break;
				case "平安夜":
					console.log("买苹果");
					console.log("吃大餐");
					break;
				case "生日会":
					console.log("买蛋糕");
					console.log("开Party");
					break;
				default:
					console.log("上班");
					console.log("工作");
					console.log("喝西北风");
			}
			
		</script>
	</body>
</html>
